<?php
/**
 * Created by PhpStorm.
 * User: jingshou
 * Date: 2017/9/17
 * Time: 23:57
 */
//
//namespace app\mobile\model;
//
//use think\Model;
//use think\Cookie;
//
//class IndexModel extends Model
//{
//    protected $table = 'tp_index';
//
//    public function getList($num, $condition)
//    {
//        $condition = array_merge($condition, ['language' => Cookie::get('language')]);
//        return self::where($condition)->order('id asc')->limit($num)->select();
//    }
//}